package cn.tedu.recruitmentwebsite.common.mapper;

import cn.tedu.recruitmentwebsite.base.pojo.entity.User;
import cn.tedu.recruitmentwebsite.base.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;


public interface CommonMapper {
    User selectByUsername(String username);

    User selectByPhone(String phone);

    void insert(User user);

    void updateLastLoginTime(Long id);

    void updatePassword(@Param(value = "id") Long id, @Param(value="newPassword") String newPassword);
}
